package com.czk.model.visitor;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/5/10 14:44
 */
public class Man extends Person {
    /**
     * 运用了双分派模式，不管类怎么变化，总能找到该类
     * @param action
     */
    @Override
    public void accpet(Action action) {
        action.getManResult(this);
    }
}
